import { createRouter, createWebHistory } from 'vue-router'
const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('../views/Home/index.vue'),
  },
  {
    path: '/movie',
    name: 'Movie',
    component: () => import('../views/Movie/index.vue'),
  },
  {
    path: '/shortvideo',
    name: 'ShortVideo',
    component: () => import('../views/ShortVideo/index.vue'),
  },
  {
    path: '/longvideo',
    name: 'LongVideo',
    component: () => import('../views/LongVideo/index.vue'),
  },
  {
    path: '/theater',
    name: 'Theater',
    component: () => import('../views/Theater/index.vue'),
  },
  {
    path: '/PlayjcVideo',
    name: 'PlayjcVideo',
    component: () => import('@/views/PlayVideo/PlayVideo.vue'),
  },
  {
    path: '/detail',
    name: 'Detail',
    component: () => import('../views/Home/Detail/index.vue'),
  },
  {
    path: '/playvideo',
    name: 'PlayVideo',
    component: () => import('../views/PlayVideo/index.vue'),
  },
  // {
  //   path: '/register',
  //   name: 'Register',
  //   component: () => import('../views/Register'),
  // },
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})

export default router
